﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace Communication
{
    public class MessageEvent : EventArgs
    {
        string message;
        public string Message
        {
            get { return message; }
            set { message = value; }
        }
        IPAddress ipAddress;
        public IPAddress IpAddress
        {
            get { return ipAddress; }
            set { ipAddress = value; }
        }

        public MessageEvent(string msg, IPAddress ipAddr)
        {
            this.Message = msg;
            this.IpAddress = ipAddr;
        }
    }
}
